/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package observerswing;

import javax.swing.DefaultListModel;

/**
 *
 * @author Francisco
 */
public class MiListModel extends DefaultListModel implements Observer {

    public MiListModel() {
        super();
    }

    
    public void notificar(String mensaje) {
        super.addElement(mensaje);
    }

 
}
